package com.logistics.team3.po;
// default package



/**
 * 角色权限
 * RolePower entity. @author MyEclipse Persistence Tools
 */

public class RolePower  implements java.io.Serializable {


    // Fields    

     private String id;
     /**
      * 角色
      */
     private Role role;
     /**
      * 权限
      */
     private Power power;


    // Constructors

    /** default constructor */
    public RolePower() {
    }

    
    /** full constructor */
    public RolePower(Role role, Power power) {
        this.role = role;
        this.power = power;
    }

   
    // Property accessors

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }

    public Role getRole() {
        return this.role;
    }
    
    public void setRole(Role role) {
        this.role = role;
    }

    public Power getPower() {
        return this.power;
    }
    
    public void setPower(Power power) {
        this.power = power;
    }

}